package com.ynet.middleground.user.dto;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description cfca证书信息对象
 * @date 2020-01-06 22:25
 */
@Data
@ApiModel(value = "cfca证书信息对象", description = "cfca证书信息对象")
public class UserCfcaInfoDTO extends UserBaseInformationDto {

    private static final long serialVersionUID = 5307571549217077312L;

    /**
     * ukey编号
     */
    @ApiModelProperty(value = "uKey编号", notes = "uKey编号")
    private String uKeyId;

    /**
     * 证书DN
     */
    @ApiModelProperty(value = "证书DN", notes = "证书DN")
    private String dn;

    /**
     * 证书序号
     */
    @ApiModelProperty(value = "证书序号", notes = "证书序号")
    private String sequenceNo;

    /**
     * 序列号
     */
    @ApiModelProperty(value = "序列号", notes = "序列号")
    private String serialNo;

    /**
     * 授权码
     */
    @ApiModelProperty(value = "授权码", notes = "授权码")
    private String authCode;

    /**
     * 证书状态 3-未下载,4-激活,5-冻结,6-吊销
     */
    @ApiModelProperty(value = "证书状态", notes = "证书状态")
    private String certStatus;

    /**
     * 有效期起始时间 格式：yyyyMMddHHmmss
     */
    @ApiModelProperty(value = "有效期起始时间", notes = "有效期起始时间")
    private String startTime;

    /**
     * 有效期截止时间 格式：yyyyMMddHHmmss
     */
    @ApiModelProperty(value = "有效期截止时间", notes = "有效期截止时间")
    private String endTime;

    /**
     * 签名证书
     */
    @ApiModelProperty(value = "签名证书", notes = "签名证书")
    private String signatureCert;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "cfca证书创建时间", notes = "cfca证书创建时间")
    private LocalDateTime cfcaGmtCreate;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "cfca证书创建者", notes = "cfca证书创建者")
    private Integer cfcaCreateBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "cfca证书更新时间", notes = "cfca证书更新时间")
    private LocalDateTime cfcaGmtModified;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "cfca证书更新者", notes = "cfca证书更新者")
    private Integer cfcaModifiedBy;

}
